import fly from '../utils/fly.js'
/**
 * 获取结算参数
 */
export function getCheckoutParams() {
	return fly.request({
		url:'/applet/trade/checkout-params',
		needToken: true,
		method:"GET"
	})
}
/**
 * 设置收货地址id
 */
export function setCheckoutAddr(address_id) {
	return fly.request({
		url:'/applet/trade/checkout-params/address-id/'+address_id,
		needToken: true,
		method:"POST"
	})
}
/**
 * 设置订单备注
 */
export function setCheckoutRemark(address_id) {
	return fly.request({
		url:'/applet/trade/checkout-params/remark',
		needToken: true,
		method:"POST"
	})
}
